from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    
	# url(r'^$', 'Eventati.views.home', name='home'),
   # url(r'^Eventati/', include('Eventati.foo.urls')),

   # Uncomment the admin/doc line below to enable admin documentation:
   # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

   # Uncomment the next line to enable the admin:
   # url(r'^admin/', include(admin.site.urls)),
                (r'^admin/', include(admin.site.urls)),

	url(r'^addChannel/', 'Eventati.App.views.addChannel'),
	url(r'^addLiveStream/', 'Eventati.App.views.addLiveStream'),
    url(r'^verifyChannel/', 'Eventati.App.views.verifyChannel'),

	#url(r'^tweet/','Eventati.App.views.tweetAboutYourEvent'),
	url(r'^CurrentCredit/', 'App.views.viewCurrentCredit'),
    	url(r'^social/', 'Eventati.App.views.setSocialMarekting'),
		(r'^App/', include('App.urls')),
				(r'^login/', 'App.views.logIn'),
				(r'^passwordreset/', 'App.views.resetPassword'),
                (r'^pendingEvent', 'Eventati.App.views.pendingEvent'),
                (r'^approve', 'Eventati.App.views.approve'),
                (r'^reject', 'Eventati.App.views.reject'),
                (r'^deleteEvent', 'Eventati.App.views.deleteEvent'),
                (r'^systemModerator', 'Eventati.App.views.systemModerator'),
				(r'^CreateList/', 'Eventati.App.views.Page'), 
                (r'^TODO/' , 'Eventati.App.views.createList') ,
                (r'^viewList/' , 'Eventati.App.views.viewList') ,
                (r'^AddTask/', 'Eventati.App.views.AddTask') ,
                (r'^DeleteTask/', 'Eventati.App.views.deleteTask') ,
                (r'^CompleteTask/', 'Eventati.App.views.CompleteTask') ,
                (r'^payment.html', 'Eventati.App.views.assignPayment'),
              #  (r'^Edit_Payment.html', 'Eventati.App.views.editPayment'),

				(r'^createEvent/','App.views.createEvent'),
				(r'^launch/','App.views.launchEvent'),
				(r'^removedLocation/','App.views.removeLocation'),
				(r'^removedPayment/','App.views.removePayment'),
				(r'^removedMedia/','App.views.removeMedia'),
				(r'^removedAgenda/','App.views.removeAgenda'),
				(r'^removedSocialMarketing/','App.views.removeSocialMarketing'),
				(r'^removedLiveStream/','App.views.removeLiveStream'),
				#(r'^p/', 'Eventati.App.views.TemplatesView'),
				(r'^event/(\d+)/share/$', 'Eventati.App.views.shareEvent'),
                (r'^event/(\d+)/like/(\d+)/$', 'Eventati.App.views.likeEvent'),
				(r'^p/', 'Eventati.App.views.viewTemplates'),
				(r'^location/','Eventati.App.views.submitComponents'),
                (r'^payment/','Eventati.App.views.viewPayment'),
                (r'^media/','Eventati.App.views.viewMedia'),
                (r'^agenda/','Eventati.App.views.viewAgenda'),
				
				(r'^$' , 'Eventati.App.views.templates' ), 
                (r'^createTemplate/' , 'Eventati.App.views.createTemplate' ), 
				(r'^createAnAgenda/', 'Eventati.App.views.createAnAgenda'),
				(r'^createActivity/', 'Eventati.App.views.createActivity'),


                (r'^socialmarketing/','Eventati.App.views.viewSocialMarketing'),
                (r'^livestream/','Eventati.App.views.viewLiveStream'),
                (r'^success/','Eventati.App.views.viewSuccess'),
                (r'^viewEventAfterLaunch/','Eventati.App.views.viewEventAfterLaunch'),
				(r'^eventEdit/(?P<event_id>\d+)/$', 'Eventati.App.views.editEvent'),
			    (r'^payForEvent/' , 'Eventati.App.views.addPayedAttendees') ,
                (r'^Start/' , 'Eventati.App.views.startPayment') ,
                (r'^hello', 'Eventati.App.views.hello'),
                       (r'^signup/', 'Eventati.App.views.signup'),
                       (r'^joinEvent/', 'Eventati.App.views.joinEvent'),
                       (r'^maybeAttend/', 'Eventati.App.views.maybeAttend'),
                       (r'^notAttend/', 'Eventati.App.views.notAttend'),
                      # (r'^logout/', 'Eventati.App.views.logout'),
                       (r'^invite/', 'Eventati.App.views.invite'),
                       (r'^Test/', 'Eventati.App.views.homePage'),
                      (r'^createAccount/', 'Eventati.App.views.createAccount'),
                (r'^change/', 'App.views.change'),
                       

					   

					   url (r'^viewPage/','App.views.viewPage'),
                       #url (r'^Terms&Conditions/','App.views.Conditions'),
					   url (r'^News/','App.views.viewNews'),  
					  (r'^AboutUs/', 'App.views.viewAboutUs'),
					  url(r'^Faqs/', 'App.views.viewFaqs'),
                      url(r'^Eventati/', 'App.views.viewEventati'),
                       url(r'^Contactus/', 'App.views.viewContactUs'),
                       
                (r'^components/','App.views.addEventComponents'),
                (r'^Event/','App.views.launchEvent'),
                (r'^EditLocation/','App.views.editLocation'),
           # dfbdb  url(r'^EditPayment.html', 'Eventati.App.views.editPayment'),
            (r'^EditAgenda/','App.views.editAgenda'),
            (r'^EditMedia/','App.views.editMedia'),
            (r'^EditSocialMarketing/','App.views.editSocialMarketing'),
            (r'^EditLiveStream/','App.views.editLiveStream'),
                       
					   url(r'^uploadPhoto/', 'Eventati.App.views.uploadPhoto'),
					   url(r'^UploadVideos/', 'Eventati.App.views.uploadVideo'),
                       url(r'^addMedia/', 'Eventati.App.views.addMedia'),
					    url(r'^CreatePage/', 'App.views.addCMS'),
       #url(r'^createPage/', 'App.views.createPage'),
       url(r'^addCMS/', 'App.views.addCMS'),
       #url(r'^Add', 'App.views.Add'),
       #url(r'^create', 'App.views.Add'),
       url(r'^Create/', 'App.views.createRequest'),
       url(r'^CreateMenu/', 'App.views.createMenus'),
       url(r'^CreateMenus/', 'App.views.createMenus'),
      # url(r'^EventsTest/', 'App.views.EventsTest'),
       url(r'^ViewCMSPage/(\d+)/$','App.views.showPages'),
       url (r'^showPages/', 'App.views.showPages'),
       url(r'^Menus/(\d+)/$','App.views.showMenus'),
       url (r'^showMenus/', 'App.views.showMenus'),
	   
       
    url(r'^viewSearchPage/','Eventati.App.views.viewSearchPage'),
    url(r'^searchEngine/','Eventati.App.views.searchEngine'),
    url(r'^ResultsEvents/(\d+)/$','Eventati.App.views.goToPage'),

		   (r'^event/','Eventati.App.views.viewEvent'),

		# sbsfbfurl(r'^View/', 'Eventati.App.views.ViewInstructions'),
    
                      (r'^DashboardHome/','Eventati.App.views.showEvent'),
                       (r'^CreatedEvents/','Eventati.App.views.showAllCreatedEvents'),
                       (r'^AttendingEvents/','Eventati.App.views.showAllAttendingEvents'),  
                       (r'^TempEventPage/(\d+)/$','Eventati.App.views.showTempEvent'), 
                      

)

    
    
            
   

